#include <nds.h>
#include <time.h>
#include "../include/Application.hpp"
#include <stdio.h>
#include <fat.h>
#include "..\include\efs_lib.h"    // include EFS lib


#include "..\include\Tools.hpp"


int main() {
    /*  Turn on the 2D graphics core. */
    powerOn(POWER_ALL_2D);

	fatInitDefault();

	if(EFS_Init(EFS_AND_FAT | EFS_DEFAULT_DEVICE, NULL)) {
		Application Application;
		Application.init();

		if(DEBUG) consoleDemoInit(); 

		for(;;){
				Application.update();
		}	

	}
    return 0;
}
